package com.coderman.infosys.auth.adapter.convert;

import com.coderman.infosys.auth.adapter.vo.authority.AdminAuthorityVO;
import com.coderman.infosys.auth.adapter.vo.authority.request.CreateAdminAuthorityRequestVO;
import com.coderman.infosys.auth.adapter.vo.authority.request.UpdateAdminAuthorityRequestVO;
import com.coderman.infosys.auth.domain.bo.authority.AdminAuthorityBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* @Description:AdminAuthorityConvertervobo接口
* @Author:
* @CreateTime:2022-01-04 15:27:39
* @version v1.0
*/
@Mapper
public interface AdminAuthorityConverter{
	AdminAuthorityConverter INSTANCE = Mappers.getMapper(AdminAuthorityConverter.class);

	/**
	 *
	 * @Description:
	 * @return AdminAuthorityBO
	 */
	 AdminAuthorityBO vo2bo(CreateAdminAuthorityRequestVO createAdminAuthorityRequestVO);
	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityBO>
	 */
	 List<AdminAuthorityBO> VOs2BOs(List<UpdateAdminAuthorityRequestVO> updateAdminAuthorityRequestVOList);
	/**
	 *
	 * @Description:
	 * @return AdminAuthorityBO
	 */
	 AdminAuthorityBO vo2bo(AdminAuthorityVO adminAuthorityVO);
	/**
	 *
	 * @Description:
	 * @return AdminAuthorityVO
	 */
	 AdminAuthorityVO bo2VO(AdminAuthorityBO adminAuthorityBO);
	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityBO>
	 */
	 List<AdminAuthorityBO> voList2BoList(List<AdminAuthorityVO> vOList);
	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityVO>
	 */
	 List<AdminAuthorityVO> boList2voList(List<AdminAuthorityBO> adminAuthorityBOList);
	/**
	 *
	 * @Description:
	 * @return List<AdminAuthorityBO>
	 */
	 List<AdminAuthorityBO> voList2boList(List<CreateAdminAuthorityRequestVO> createAdminAuthorityRequestVOList);
	/**
	 *
	 * @Description:
	 * @return AdminAuthorityBO
	 */
	 AdminAuthorityBO vo2bo(UpdateAdminAuthorityRequestVO updateAdminAuthorityRequestVO);
}